// 封装与用户相关的请求接口

import {request} from '@/utils/request'
// 登录
const getLogin = (loginForm) => {
    return request.post('/authorizations', loginForm )
}

const getUserInfo = () => {
    return request.get('/user/profile')
}

export {
    getLogin,
    getUserInfo
}